package com.collapse.union.gitee.liteflow.design.demo.NodeComponent;

import com.yomahub.liteflow.core.NodeComponent;
import com.yomahub.liteflow.slot.Slot;
import org.springframework.stereotype.Component;

@Component("b")
public class BCmp extends NodeComponent {

    @Override
    public void process() {
        Slot slot = this.getSlot();
        Object requestData = this.getRequestData();
        slot.setResponseData("b cmp!");
        System.out.println("b cmp!");
        System.out.println(requestData);
    }
}

